<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/bootstrap-star-rating/star-rating.css" media="all" rel="stylesheet" type="text/css"/>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<button shiro:hasPermission="comment:manage:add" type="button" class="btn btn-primary" onclick="add()">
								<i class="fa fa-plus" aria-hidden="true"></i>新建评价
							</button>
							<!-- <button shiro:hasPermission="centre:manage:batchRemove"  type="button" class="btn  btn-danger"
								onclick="batchRemove()"><i class="fa fa-trash" aria-hidden="true"></i>删除
							</button> -->
						</div>
						<!-- <div class="columns pull-left col-md-2 nopadding">
							<select id="type" data-placeholder="类型" class="form-control chosen-select" tabindex="2">
								<option value="" selected="selected">类型</option>
								<option value="1">模拟评价</option>
								<option value="0">真实评价</option>
							</select>
						</div> -->
						<div class="columns pull-left col-md-2 nopadding">
							<select id="type" data-placeholder="回复状态" class="form-control chosen-select" tabindex="2">
								<option value="0">回复状态</option>
								<option value="1">需要首次回复</option>
								<option value="2">需要追加回复</option>
							</select>
						</div>
						<div class="columns pull-right" role="group">
							<button class="btn btn-success" onclick="reLoad()">
								<i class="fa fa-search" aria-hidden="true"></i>查询
							</button>
						</div>
						<!-- <div class="pull-left search col-md-2 nopadding">
							<input id="name" type="text" class="form-control" placeholder="商户名称">
						</div> -->
					</div>
					<table id="centresTable" data-mobile-responsive="true"></table>
				</div>
			</div>
		</div>

		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_detail_h = 'hidden';
				var s_remove_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="comment:manage:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="comment:manage:detail">
			<script type="text/javascript">
				s_detail_h = '';
			</script>
		</div>
		<div shiro:hasPermission="comment:manage:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/product/comment/manage.js"></script>
	<script type="text/javascript" src="/js/bootstrap-star-rating/star-rating.js"></script>
</body>
</html>